package com.teckteam.ptvsystem.model;

import com.teckteam.ptvsystem.model.facade.PTVConstants;

/**
 * Child class for representing walking instances via AbstractStop Will hold
 * information on distance travelled with respect to a starting time.
 * 
 * -James
 */
public class WalkingInstance extends AbstractStop
{
   
   public WalkingInstance(String[] timesList, String stopName, char dirFlag, Locality location)
   {
      super(timesList, stopName, dirFlag);
      setLocality(location);
      setTransportType(PTVConstants.WALK_FLAG);
   }
   
   /**
    * Set departure time for WalkingInstance
    */
   public void setTime(DepartureTime time)
   {
      super.setTime(time);
   }
   
}
